#ifndef MATCHPROCPARAMCOLLECTREQUESTPANEL_H
#define MATCHPROCPARAMCOLLECTREQUESTPANEL_H

#include <QWidget>
class QLineEdit;
class QGridLayout;
class MatchProcParamCollectRequestPanel : public QWidget
{
    Q_OBJECT
public:
    explicit MatchProcParamCollectRequestPanel(QWidget *parent = nullptr);
    ~MatchProcParamCollectRequestPanel();
private:
    void initWidgets();
    void setupUi();
    QWidget* buildParamInfo(QHash<QString,QLineEdit*>* widgetList);

    QHash<QString,QLineEdit*> valueList;
    QHash<QString,QLineEdit*> paramInfoList;
    QList<QHash<QString,QLineEdit*>> paramCollection;
    QList<QWidget*> paramWidgetsList;
    QGridLayout* paramListLayout;
    QGridLayout* layout;

private slots:
    void execute();
    void addParamPanel();
};

#endif // MATCHPROCPARAMCOLLECTREQUESTPANEL_H
